class MoreFatDataModel{
  double? standardWeight;
  double? controlWeight;
  double? fat;
  double? removeFatWeight;
  double? muscleMass;
  double? protein;

  MoreFatDataModel({this.standardWeight, this.controlWeight, this.fat,
    this.removeFatWeight, this.muscleMass, this.protein});

  Map<String, dynamic> toJson() {
    return {
      'standardWeight': this.standardWeight,
      'controlWeight': this.controlWeight,
      'fat': this.fat,
      'removeFatWeight': this.removeFatWeight,
      'muscleMass': this.muscleMass,
      'protein': this.protein,
    };
  }

  factory MoreFatDataModel.fromJson(Map<dynamic, dynamic> map) {
    return MoreFatDataModel(
      standardWeight: map['standardWeight'] as double,
      controlWeight: map['controlWeight'] as double,
      fat: map['fat'] as double,
      removeFatWeight: map['removeFatWeight'] as double,
      muscleMass: map['muscleMass'] as double,
      protein: map['protein'] as double,
    );
  }
}